package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.time.LocalDateTime;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/25 16:12
 * 人员出警记录
 */
@Data
@TableName(value = "PERSON_CALL_RECORD",autoResultMap = true)
@Entity(name = "PERSON_CALL_RECORD")
@AccEntity(value = "人员出警记录", type = EntityType.SERVICE_ENTITY)
public class PersonCallRecord extends DomainBaseEntity<PersonCallRecord> {

    /**
     * 人员id
     */
    @Column()
    private Long personId;

    /**
     * 主管机构
     */
    @Column()
    private String supervisor;

    /**
     * 立案时间
     */
    @Column()
    private LocalDateTime filingTime;

    /**
     * 案发地址
     */
    @Column()
    private String caseAddress;

    /**
     * 等级
     */
    @Column()
    private String level;

    /**
     * 案件类型
     */
    @Column()
    private String caseType;

    /**
     * 状态
     */
    @Column()
    private String status;

    /**
     * 出动力量
     */
    @Column()
    private String mobilization;

    /**
     * 警情编号
     */
    @Column()
    private String alarmNumber;
}
